Fields Property (MessageFilter Object)
The Fields
property returns a single Field
Syntax
objMessageFilter.Fields
objMessageFilter.Fields(index)
objMessageFilter.Fields(proptag)
objMessageFilter.Fields(name)
index
Short integer
(less than or equal to 65535). Specifies the index within the Fields
collection.
proptag
Long integer
(greater than or equal to 65536). Specifies the property tag value for the MAPI
property to be retrieved.
name
String.
Specifies the name of the custom MAPI property.
Data Type
Object
Remarks
The Fields
property returns one or more of the fields associated with a MessageFilter
object. Each field typically corresponds to a MAPI property, and together the
fields that have been added to the collection specify the filter.
The Fields
property provides a generic access mechanism that allows Visual Basic and
Visual C++ programmers to retrieve the value of a MAPI property using either
its name or its MAPI property tag. For access with the property tag, use
MessageFilter.Fields(proptag), where proptag is the 32-bit MAPI
property tag associated with the property, such as PR_MESSAGE_CLASS. To access
a named property, use MessageFilter.Fields(name), where name is a
string that represents the custom property name.